<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <style type="text/css">
      nav.navbar{
        opacity: 0.5;
        margin-bottom: 0;
      }
      .banner{
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
        background: url(./src/img3.jpg);
      }

      .join{
        color: purple;
        padding: 20px;
        padding-top: 30px;
        font-size: 25pt;
      }

      .join>span{
        font-size: 14pt;
      }

      .row{
        padding: 10px;
      }
      .row .col-xs-6{
        min-height: 200px;

        /*background: linear-gradient(to right,blue,yellow);*/
      }
      .info{
        font-size: 13pt;
        padding: 20px;
      }
      .info h6{
        font-size: 14pt;
      }
      .info ul{
        list-style: none;
      }
      .info ul>li>a{
        text-decoration: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    </style>
  </head>
  <body>

    <nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse"
                data-target="#example-navbar-collapse">
            <span class="sr-only">切换导航</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
          <img class="navbar-brand" style="width:120px; height:50px"src="./src/logo.png" alt="" />

    </div>
    <div class="collapse navbar-collapse" id="example-navbar-collapse">
        <ul class="nav navbar-nav navbar-right">
            <li class="active"><a href="#">旅游推荐</a></li>
            <li><a href="#">熊旅专线</a></li>
            <li><a href="#">出入境游</a></li>
            <li><a href="#">旅游攻略</a></li>
            <li><a href="#">熊旅直播</a></li>
            <li><a href="#">娱乐时事</a></li>
            <li><a href="#">演艺制作</a></li>
            <li><a href="#">联系我们</a></li>
            <li><a href="#">登陆/注册</a></li>
        </ul>
    </div>
    </div>
    </nav>

    <div class="banner">

    </div>

    <div class="row">
      <div class="col-xs-6">
        <p>LITTLE BEAR INTERNATIONAL TRAVEL SERVICE</p>
        <h4>15991852515</h4>
        <p>xonglvguoji@163.com</p>
        <h5>陕西省西安市莲湖区工农路2号</h5>
        <img width="80" height="80"src="./src/img1.jpg" alt="">
      </div>
      <div class="col-xs-6">
        <img src="./src/img2.jpg" width="80%" height="200px;" alt="">
      </div>
      <div class="join">
        JOIN US <span>加入我们</span>
      </div>
      <div class="col-xs-6 info">
        <h6>title</h6>
        <ul>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
        </ul>
      </div>

      <div class="col-xs-6 info">
        <h6>title</h6>
        <ul>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
          <li><a href="#">xxxxxxx</a></li>
        </ul>
      </div>


    </div>

    <script type="text/javascript">
      const navDOM = document.querySelector("nav.navbar");
      navDOM.style.backgroundImage = 'url(./src/img1.jpg)';
      // navDOM.style.backgroundColor = '#aef';
    </script>
  </body>
</html>
